package com.scap.authen.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table( name = "JA_LOGIN_LOG")
public class LoginLog {
	
	@Id
	@Column ( name = "LOG_ID", length = 2)
	private String vaLogId;
	
	@Column ( name = "USER_ID", length = 2)
	private String vaUserId;
	
	@Column ( name = "LOGIN_DATE", length = 8)
	private String vaLogDate;
	
	@Column ( name = "LOGIN_TIME", length = 6)
	private String vaLogTime;
	
	@Column ( name = "INSERT_USER_ID")
	private int vnInsertUserId;
	
	@Column ( name = "INSERT_DATE", length = 8)
	private String vaInsertDate;
	
	@Column( name = "INSERT_TIME", length = 6)
	private String vaInsertTime;
	
	@Column ( name = "UPDATE_USER_ID")
	private int vnUpdateUserId;
	
	@Column ( name = "UPDATE_DATE", length = 8)
	private String vaUpdateDate;
	
	@Column ( name = "UPDATE_TIME", length = 6)
	private String vaUpdateTime;

	public LoginLog(String vaLogId, String vaUserId, String vaLogDate,
			String vaLogTime, int vnInsertUserId, String vaInsertDate,
			String vaInsertTime, int vnUpdateUserId, String vaUpdateDate,
			String vaUpdateTime) {
		this.vaLogId = vaLogId;
		this.vaUserId = vaUserId;
		this.vaLogDate = vaLogDate;
		this.vaLogTime = vaLogTime;
		this.vnInsertUserId = vnInsertUserId;
		this.vaInsertDate = vaInsertDate;
		this.vaInsertTime = vaInsertTime;
		this.vnUpdateUserId = vnUpdateUserId;
		this.vaUpdateDate = vaUpdateDate;
		this.vaUpdateTime = vaUpdateTime;
	}
	
	public LoginLog(){
		
	}
	
	public String getVaLogId() {
		return vaLogId;
	}
	public void setVaLogId(String vaLogId) {
		this.vaLogId = vaLogId;
	}
	public String getVaUserId() {
		return vaUserId;
	}
	public void setVaUserId(String vaUserId) {
		this.vaUserId = vaUserId;
	}
	public String getVaLogDate() {
		return vaLogDate;
	}
	public void setVaLogDate(String vaLogDate) {
		this.vaLogDate = vaLogDate;
	}
	public String getVaLogTime() {
		return vaLogTime;
	}
	public void setVaLogTime(String vaLogTime) {
		this.vaLogTime = vaLogTime;
	}
	public int getVnInsertUserId() {
		return vnInsertUserId;
	}
	public void setVnInsertUserId(int vnInsertUserId) {
		this.vnInsertUserId = vnInsertUserId;
	}
	public String getVaInsertDate() {
		return vaInsertDate;
	}
	public void setVaInsertDate(String vaInsertDate) {
		this.vaInsertDate = vaInsertDate;
	}
	public String getVaInsertTime() {
		return vaInsertTime;
	}
	public void setVaInsertTime(String vaInsertTime) {
		this.vaInsertTime = vaInsertTime;
	}
	public int getVnUpdateUserId() {
		return vnUpdateUserId;
	}
	public void setVnUpdateUserId(int vnUpdateUserId) {
		this.vnUpdateUserId = vnUpdateUserId;
	}
	public String getVaUpdateDate() {
		return vaUpdateDate;
	}
	public void setVaUpdateDate(String vaUpdateDate) {
		this.vaUpdateDate = vaUpdateDate;
	}
	public String getVaUpdateTime() {
		return vaUpdateTime;
	}
	public void setVaUpdateTime(String vaUpdateTime) {
		this.vaUpdateTime = vaUpdateTime;
	}

	@Override
	public String toString() {
		return "LoginLog [vaLogId=" + vaLogId + ", vaUserId=" + vaUserId
				+ ", vaLogDate=" + vaLogDate + ", vaLogTime=" + vaLogTime
				+ ", vnInsertUserId=" + vnInsertUserId + ", vaInsertDate="
				+ vaInsertDate + ", vaInsertTime=" + vaInsertTime
				+ ", vnUpdateUserId=" + vnUpdateUserId + ", vaUpdateDate="
				+ vaUpdateDate + ", vaUpdateTime=" + vaUpdateTime + "]";
	}
}
